package cn.com.yusys.yusp.mobile.service;

import cn.com.yusys.yusp.commons.mapper.QueryModel;
import cn.com.yusys.yusp.mobile.repository.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class UserService {

    @Resource
    UserMapper userMapper;

    public List<Map<String, Object>> getUserInfo(QueryModel queryModel){
        List<Map<String, Object>> list = null;
        list = userMapper.getUserInfo(queryModel);
        return list;
    }

    public List<Map<String, Object>> getSecondGridValue(QueryModel queryModel){
        List<Map<String, Object>> list = null;
        list = userMapper.getSecondGridValue(queryModel);
        return list;
    }
}
